lowercase in array php

32

array_walk($yourArray, function(&$value)
{
  $value = strtolower($value);
});
array_walk($yourArray, function(&$value)
{
  $value = strtolower($value);
});

Comments

Submit
0 Comments